package com.vt.common.core.util.business.enums;

/**
 * 流水号枚举类,用来确定要生成的流水号前缀及redis的key值
 *
 * @author liudong
 * @date 2018年8月30日
 */
public enum FlowNoEnum {

    //项目评审编号
    XMPS(4, "XMPS", "FLOWNO_XMPS_"),
    //项目合同编号
    XMHT(4, "XMHT", "FLOWNO_XMHT_"),
    //项目合同散租编号
    XMHTSZ(4, "XMHTSZ", "FLOWNO_XMHTSZ_"),
    //项目订单编号
    XMDD(4, "XMDD", "FLOWNO_XMDD_"),
    //采购计划编号
    CGJH(4, "CGJH", "FLOWNO_CGJH_"),
    //采购订单编号
    CGDD(4, "CGDD", "FLOWNO_CGDD_"),
    //采购过程编号
    CGGC(4, "CGGC", "FLOWNO_CGGC_"),
    //车辆调拨申请单编号
    DBSQ(4, "DBSQ", "FLOWNO_DBSQ_"),
    //维修保养单修理单号
    WXBY(4, "WXBY", "FLOWNO_WXBY_"),
    //车辆加油单编号
    CLJY(4, "CLJY", "FLOWNO_CLJY_"),
    //维修保养单修理单号
    CLSG(4, "CLSG", "FLOWNO_CLSG_"),
    //加油卡充值记录编号
    YKCZ(4, "YKCZ", "FLOWNO_YKCZ_"),
    //企业客户收款单编号
    QYSK (4, "QYSK", "FLOWNO_YKCZ_"),
    //企业客户收款单编号
    QYTK (4, "QYTK", "FLOWNO_QYTK_"),
    //车辆清洁
    CLQJ (4,"CLQJ","FLOWNO_CLQJ_"),
    //车辆调度
    CLDD (4,"CLDD","FLOWNO_CLDD_"),
    //司机报销单号
    SJBX (4,"SJBX","CLFYBX_SJBX_")
    ;


    public int length;
    public String subfix;
    public String key;

    FlowNoEnum(int length, String subfix, String key) {
        this.length = length;
        this.subfix = subfix;
        this.key = key;
    }
}
